<?php
/**
 * Classe REPOSITORY da tabela TB_PARAM_RELIGIAO
 * 
 * @author			Mário R. Castro
 * @copyright		Voitech Sistema
 * @package			SEMAS
 * @subpackage		semas.application.models
 * @version			1.0
*/
class App_Model_ParamReligiaoRepository{

    public function listarTodos(array $arrParametro) {
        $arrDbParamReligiao = App_Model_Db_ParamReligiao::build()->listarTodos(new Voitech_TO($arrParametro));
        $arrParamReligiao = array();
        foreach($arrDbParamReligiao as $row) {
            $obParamReligiaoMapper = new App_Model_ParamReligiaoMapper(new App_Model_ParamReligiao());
            $arrParamReligiao[] = $obParamReligiaoMapper->carregar($row)->getObModel();
        }
        return $arrParamReligiao;
    }
    
}